﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Report.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Group Report
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Group Report</h1>
        <br />
    <table class="data-table" width="100%">
        <thead>
            <tr>
                <th>
                    Group
                </th>
                <th>
                    Site
                </th>
                <th>
                    Department
                </th>
                <th>
                    # of Users
                </th>
            </tr>
        </thead>
        <tbody>
            <% For Each item In ViewData("Groups")%>
            <tr>
                <td width="25%">
                    <%: item.Description%>
                </td>
                <td width="25%">
                    <%: item.Site%>
                </td>
                <td width="35%">
                    <%: item.Department%>
                </td>
                <td width="15%">
                    <%: item.NumberOfUsers%>
                </td>
            </tr>
            <% Next%>
        </tbody>
    </table>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FormContent" runat="server">
    <%= Html.Hidden("SiteID", ViewData("SiteID"))%>
    <%= Html.Hidden("DepartmentID", ViewData("DepartmentID"))%>
</asp:Content>
